package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DMaterialBuyEntity;

import java.util.List;
import java.util.Map;

/**
 * 点位材料购置表
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-04 11:17:40
 */
public interface DMaterialBuyService {

	DMaterialBuyEntity queryObject(String guid);
	
	List<DMaterialBuyEntity> queryList(Map<String, Object> map);
	List<DMaterialBuyEntity> queryAppList(Map<String, Object> map);
	List<DMaterialBuyEntity> queryListout(String pguid);
	List<DMaterialBuyEntity> queryListhz(String pguid);
	int queryTotal(Map<String, Object> map);
	
	void save(DMaterialBuyEntity dMaterialBuy);
	
	void update(DMaterialBuyEntity dMaterialBuy);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<DMaterialBuyEntity> entities);
	List<DMaterialBuyEntity> queryListByDDguid(String[] guids);
}
